tools: Introduce $(xenlibs-rpath,..) to replace $(SHDEPS_lib*)
authorAnthony PERARD <anthony.perard@citrix.com>
Mon, 22 Aug 2022 10:09:05 +0000 (12:09 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 22 Aug 2022 10:09:05 +0000 (12:09 +0200)
commitd2b396d47bd9071232c103501aadb32d7b83fdbb
tree64c6ec713bda295fb64733217d9bd6ee0bce5d4d
parent58ce731faca28cb08f7c1b8c79b59fed47d0b2c2
tools: Introduce $(xenlibs-rpath,..) to replace $(SHDEPS_lib*)

This patch introduce a new macro $(xenlibs-dependencies,) to generate
a list of all the xen library that a library is list against, and they
are listed only once. We use the side effect of $(sort ) which remove
duplicates.

This is used by another macro $(xenlibs-rpath,) which is to replace
$(SHDEPS_libxen*).

In libs.mk, we don't need to $(sort ) SHLIB_lib* anymore as this was used
to remove duplicates and they are no more duplicates.

Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
tools/Rules.mk
tools/libs/libs.mk